package com.css.apps.task.job;

import com.css.apps.task.model.TTask;

public class JobManager {
	public static void execute(TTask task) {
		try {
			JobTemplate job = (JobTemplate) Class.forName(task.getExeClass()).newInstance();
			job.execute(task);
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}
}
